package com.mlethe.library.multi.api.entity;

/**
 * Google 支付记录的信息
 */
public class GooglePurchase {
    /**
     * 商品ID
     */
    String productId;
    /**
     * 支付令牌
     */
    String purchaseToken;

    /**
     * 是否自动续订
     */
    boolean isAutoRenewing;

    public GooglePurchase() {
    }

    public GooglePurchase(String productId, String purchaseToken) {
        this.productId = productId;
        this.purchaseToken = purchaseToken;
    }

    public GooglePurchase(String productId, String purchaseToken, boolean isAutoRenewing) {
        this.productId = productId;
        this.purchaseToken = purchaseToken;
        this.isAutoRenewing = isAutoRenewing;
    }
}
